<script language="JavaScript" type="text/javascript" src="posting_body.js"></script>

<!-- BEGIN privmsg_extensions --> 
<span>{INBOX_IMG}</span>
<span>{INBOX_LINK}</span>
<span>{SENTBOX_IMG}</span>
<span>{SENTBOX_LINK}</span>
<span>{OUTBOX_IMG}</span>
<span>{OUTBOX_LINK}</span>
<span>{SAVEBOX_IMG}</span>
<span>{SAVEBOX_LINK}</span>

<!-- END privmsg_extensions -->

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

    {POST_PREVIEW_BOX}
    {ERROR_BOX}

    <div>
        <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
        <!-- BEGIN nav -->
        <!-- BEGIN switch_not_privmsg --> 
        -&gt; <a class="nav" href="{nav.U_NAV}" title="{nav.L_NAV_DESC_HTML}">{nav.L_NAV}</a>
        <!-- END switch_not_privmsg -->
        <!-- END nav -->
    </div>

    <table>
        <tr> 
            <th class="thHead" colspan="2" >{L_POST_A}</th>
        </tr>
        <!-- BEGIN switch_username_select -->
        <tr> 
            <td class="row1">{L_USERNAME}</td>
            <td class="row2">
                <input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" />
            </td>
        </tr>
        <!-- END switch_username_select -->
        <!-- BEGIN switch_privmsg -->
        <tr> 
            <td class="row1">{L_USERNAME}</td>
            <td class="row2">
                <input type="text"  class="post" name="username" maxlength="25" size="25" tabindex="1" value="{USERNAME}" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
            </td>
        </tr>
        <!-- END switch_privmsg -->
        <tr> 
            <td class="row1">
                {L_SUBJECT}
            </td>
            <td class="row2"> 
                <input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
            </td>
        </tr>
        <tr> 
            <td class="row1"> 
                <span>{L_MESSAGE_BODY}</span>
                <span>{L_EMOTICONS}</span>

                <!-- BEGIN smilies_row -->

                <!-- BEGIN smilies_col -->
                <div>
                    <a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')">
                        <img src="{smilies_row.smilies_col.SMILEY_IMG}" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" />
                    </a>
                </div>
                <!-- END smilies_col -->

                <!-- END smilies_row -->
                <!-- BEGIN switch_smilies_extra -->

                <span  class="nav">
                    <a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a>
                </span>

                <!-- END switch_smilies_extra -->

            </td>

            <td class="row2">




                <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" />


                <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" />


                <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" />


                <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" />


                <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" />


                <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" />


                <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" />


                <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px"  onClick="bbstyle(14)" onMouseOver="helpline('p')" />


                <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />


                <div>
                    {L_FONT_COLOR}: 
                    <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
                        <option value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
                        <option value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
                        <option value="red" class="genmed">{L_COLOR_RED}</option>
                        <option value="orange" class="genmed">{L_COLOR_ORANGE}</option>
                        <option value="brown" class="genmed">{L_COLOR_BROWN}</option>
                        <option value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
                        <option value="green" class="genmed">{L_COLOR_GREEN}</option>
                        <option value="olive" class="genmed">{L_COLOR_OLIVE}</option>
                        <option value="cyan" class="genmed">{L_COLOR_CYAN}</option>
                        <option value="blue" class="genmed">{L_COLOR_BLUE}</option>
                        <option value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
                        <option value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
                        <option value="violet" class="genmed">{L_COLOR_VIOLET}</option>
                        <option value="white" class="genmed">{L_COLOR_WHITE}</option>
                        <option value="black" class="genmed">{L_COLOR_BLACK}</option>
                    </select> {L_FONT_SIZE}:
                    
                    <select name="addbbcode20" selected onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.selectedIndex=0;" onMouseOver="helpline('f')">
                        <option value="0" class="genmed">{L_FONT_SIZE}</option>
                        <option value="7" class="genmed">{L_FONT_TINY}</option>
                        <option value="9" class="genmed">{L_FONT_SMALL}</option>
                        <option value="12" class="genmed">{L_FONT_NORMAL}</option>
                        <option value="18" class="genmed">{L_FONT_LARGE}</option>
                        <option  value="24" class="genmed">{L_FONT_HUGE}</option>
                    </select>
                </div>
                
                <a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">
                    {L_BBCODE_CLOSE_TAGS}
                </a>

                <input type="text" name="helpbox" size="45" maxlength="100" value="{L_STYLES_TIP}" />

                <textarea name="message" rows="15" cols="35" wrap="virtual" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">
{MESSAGE}
                </textarea>
            </td>
        </tr>
        
        <tr> 
            <td class="row1">
                <div class="gen">{L_OPTIONS}
                </div>
                <div class="gensmall">
                    {HTML_STATUS}
                </div>
                <div>
                    {BBCODE_STATUS}
                </div>
                <div>
                {SMILIES_STATUS}
                </div>
            </td>
            <td>
                                    <!-- BEGIN switch_html_checkbox -->
                     
                    
                            <input type="checkbox" name="disable_html" {S_HTML_CHECKED} />
                    
                    
                            <span class="gen">{L_DISABLE_HTML}</span>
                            
                    
                    <!-- END switch_html_checkbox -->
                    <!-- BEGIN switch_bbcode_checkbox -->
                            <input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} />
                    
                    <span class="gen">{L_DISABLE_BBCODE}</span>
                    
                    <!-- END switch_bbcode_checkbox -->
                    <!-- BEGIN switch_smilies_checkbox -->
                    
                    
                            <input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} />
                    
                    <span class="gen">{L_DISABLE_SMILIES}</span>
                    
                    <!-- END switch_smilies_checkbox -->
                    <!-- BEGIN switch_signature_checkbox -->
                    
                    
                            <input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} />
                    
                    <span class="gen">{L_ATTACH_SIGNATURE}</span>
                    
                    <!-- END switch_signature_checkbox -->
                    <!-- BEGIN switch_notify_checkbox -->
                    
                    
                            <input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
                    
                    <span class="gen">{L_NOTIFY_ON_REPLY}</span>
                    
                    <!-- END switch_notify_checkbox -->
                    <!-- BEGIN switch_delete_checkbox -->
                    
                    
                            <input type="checkbox" name="delete" />
                    
                    <span class="gen">{L_DELETE_POST}</span>
                    
                    <!-- END switch_delete_checkbox -->
                    <!-- BEGIN switch_type_toggle -->
                    
                    
                    <span class="gen">{S_TYPE_TOGGLE}</span>
                    
                    <!-- END switch_type_toggle -->
                
            </td>
        </tr>
        {POLLBOX} 
        <tr> 
            <td class="catBottom" colspan="2"> 
                {S_HIDDEN_FORM_FIELDS}
                <input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />
                <input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" />
            </td>
        </tr>
    </table>

           <span class="gensmall">{S_TIMEZONE}</span>
</form>

        <div>
            {JUMPBOX}
        </div>



{TOPIC_REVIEW_BOX}
